LassoScript Utility
Basics Browse Detail

[String->IsDigit]

Tag Link [String->IsDigit] Category String
Type Member Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type Boolean Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

[String->IsDigit] checks whether a specified character within the string is numeric. The tag returns True if the character is numeric or False otherwise.

Syntax

[If: 'String'->(IsDigit: 3)] ... [/If]

Parameters

Required Parameters
Position The character within the string to inspect.

Examples

To check whether a character is a numeric digit:

Use the [String->IsDigit] tag. The following example returns False since the fourth character of the string is not a numeric digit.

[Output: '26 Letters'->(IsDigit: 4)]

False

Related Tags

Category Tags